<?php
class LangPackConstant{
	const LANG_EN = 'EN';
	const LANG_CN = 'CN';
	const LANG_HK = 'HK';
	const LANG_TW = 'TW';

	const MODE_WRITE_OVERRIDE = 1;
	const MODE_WRITE_APPEND = 2;

	const ERROR_OS = 1000;
	const ERROR_OS_FILE_NOT_FOUND = 1001;


	const ERROR_PHP = 2000;
	const ERROR_PHP_NON_EXISTENT_VAR = 2001;
	const ERROR_PHP_UNSUPPORT_METHOD = 2002;


	const ERROR_DB = 3000;
	const ERROR_APP = 4000;

	
	

	static public $regions = array(
		self::LANG_EN => 'English',
		self::LANG_CN => 'China',
		self::LANG_HK => 'Hong Kong',
		self::LANG_TW => 'Taiwan'
		);
}
